package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgPublishAccusation;

public interface YgPublishAccusationService {

	List<YgPublishAccusation> find();

	int findCount();

	YgPublishAccusation findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgPublishAccusation ygPublishAccusation);

	int update(YgPublishAccusation ygPublishAccusation);

	int saveOrUpdate(YgPublishAccusation ygPublishAccusation);

	ResultSet<YgPublishAccusation> search(QueryInfo queryInfo, String q, String nickName, Date startDate, Date endDate);

}
